//
//  NewsItem.swift
//  maozzi-rss
//
//  Created by 帽子 on 2020/5/30.
//  Copyright © 2020 帽子. All rights reserved.
//

import SwiftUI

struct NewsItem: Hashable, Identifiable, Codable, Equatable {
    var id: String?
    var title: String?
    var link: String?
    var description: String?
    var pubDate: String?
    var dateFormat: String?
    var category: String?
    var editor: String?
    var content: String?
    var logo: String?

    static func == (lhs: NewsItem, rhs: NewsItem) -> Bool {
        return lhs.id == rhs.id
    }
}
